//
//  AppDelegate.h
//  RunloopTest
//
//  Created by Charles on 2016/9/30.
//  Copyright © 2016年 Charles. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CLRunLoopInputSource.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@end

@interface AppDelegate (RunLoop)

- (void)registerSource:(CLRunLoopContext *)sourceContext;

- (void)removeSource:(CLRunLoopContext *)sourceContext;

- (void)testInputSourceEvent;

@end
